#include <cstdio>

int main( )
{
    int r, l, w, i = 1;
    while ( scanf("%d", &r) && r )
    {
        scanf("%d%d", &l, &w);
        if ( r * r * 4 >= l * l + w * w )
            printf("Pizza %d fits on the table.\n", i);
        else
            printf("Pizza %d does not fit on the table.\n", i);
        i++;
    }
    return 0;
}
